﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace RoadQualityEvaluatorData.Domain.Entities
{
    public class MapSection
    {
        [Key]
        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string StreetName { get; set; }
        public double RugosityQuality { get; set; }
        public virtual IList<Pothole> Potholes { get; set; }
        public virtual IList<Speedbump> Speedbumps { get; set; }
        public double OverallQuality { get; set; }
        public virtual Location StartLocation { get; set; }
        public virtual Location EndLocation { get; set; }

    }
}